<div data-role="page" id="universityLanding" style="background-image :url(/uploads/<?php
                                                                            if ($isDraft == "Y")
                                                                                echo $structure->getFImageDraft();
                                                                            else
                                                                                echo $structure->getFImage();

                                                                          ?>)">
    <style type="text/css">
        #header {
            height: 55px;
        }
        #header_tc {
            height: 83px;
        }
    </style>
    <script type="text/javascript">
        $(function() {
            $('.landing_icon').live('click', function() {
                var link = $(this).attr("ref");
                var articleId = $(this).attr("refId");
                $("#landingForm").attr("action", link);
                $("#articleId").val(articleId);
                $("#landingForm").submit();
            });

            $('#universityAboutTaylor').live('pageshow', function() {
            });
        });
    </script>

    <!--<div data-role="header">
        <img src="/images/mobile/teg_logo.png" class="logo" />
        <a href="/m/universityNavigation"  data-ajax="false" data-icon="check" data-theme="b" class="ui-btn-right">Menu</a>
    </div>-->
    <div id="header<?php if ($structure->getFId() == 2) echo "_tc" ?>">
    	<img src="/uploads/<?php echo $structure->getHeaderLogo() ?>" class="logo"/>
        <a href="/m/navigation?articleId=<?php echo $structure->getFId() ?>" data-ajax="false" class="ui-btn-right"><img src="/images/mobile/btn_menu.png" class="menu" style="<?php if ($structure->getFId() == 2) echo "top: 25px" ?>" /></a>
    </div>

    <form action="forms-sample-response.php" id="landingForm" method="get" data-ajax="false">
        <input type="hidden" name="articleId" id="articleId">
        <div id="landing_tu" data-role="content">
            <?php foreach ($tbl_structures as $tbl_structure):
                if($tbl_structure->getFContent() == "") continue;
                
                $link = "/m/article?id=".$tbl_structure->getFId();
                if ($tbl_structure->getExternalLink() != "0")
                    $link = $tbl_structure->getFLink();
            ?>
                <img id="img<?php echo $tbl_structure->getFId() ?>" refId="<?php echo $tbl_structure->getFId() ?>" src="/uploads/<?php
                                                                                                                                    if ($isDraft == "Y")
                                                                                                                                        echo $tbl_structure->getFIconDraft();
                                                                                                                                    else
                                                                                                                                        echo $tbl_structure->getFIcon();
                                                                                                                                 ?>" class="landing_icon" ref="<?php echo $link ?>"/>
            <?php endforeach; ?>

            <div>
                <?php
                    if ($isDraft == "Y")
                        echo $structure->getFContentDraft();
                    else
                        echo $structure->getFContent();
                ?>
            </div>
            <br>
            <br>
        </div>
	</form>
	<div id="footer" data-role="footer" data-id="foo1" data-position="fixed">
        <div style="padding-top:14px">
            <span class="footer_text" style="color: #FFFFFF; font-family: Arial,Helvetica,sans-serif; font-weight: normal; text-shadow: 0 0px 0 #FFFFFF; text-decoration: none;">All Rights Reserved © 2012 Taylor's Education Group.</span>
        </div>
    </div>
</div>